<!doctype html>
<html>
<head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width initial-scale=1'>
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <link rel="stylesheet" href="markdown.css?v=1641871594082"/>
    <title>基础参数接口</title>
</head>
<body>
<div class="markdown-body">
    <h1>基础参数接口</h1>
<h2>获取Http参数</h2>
<p><strong>URL:</strong> <code>http://your_ip:port/api/basic/getHttp</code></p>
<p><strong>Type:</strong> <code>ANY</code></p>
<p><strong>Author:</strong> CYM</p>
<p><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>Description:</strong> 获取Http参数</p>
<p><strong>Request-example:</strong></p>
<pre><code>curl -X ANY  -i http://your_ip:port/api/basic/getHttp
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>请求结果</td><td>-</td></tr>
<tr><td>status</td><td>string</td><td>请求状态 200:请求成功 401:token无效 500:服务器错误</td><td>-</td></tr>
<tr><td>msg</td><td>string</td><td>错误信息</td><td>-</td></tr>
<tr><td>obj</td><td>object</td><td>返回内容</td><td>-</td></tr>
<tr><td>└─id</td><td>string</td><td>主键</td><td>-</td></tr>
<tr><td>└─name</td><td>string</td><td>参数名</td><td>-</td></tr>
<tr><td>└─value</td><td>string</td><td>参数值</td><td>-</td></tr>
<tr><td>└─unit</td><td>string</td><td>参数单位</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;status&quot;:&quot;jtff08&quot;,
	&quot;msg&quot;:&quot;u56rsz&quot;,
	&quot;obj&quot;:[
		{
			&quot;id&quot;:&quot;45&quot;,
			&quot;name&quot;:&quot;鹤轩.白&quot;,
			&quot;value&quot;:&quot;dcibc0&quot;,
			&quot;unit&quot;:&quot;7chw2h&quot;
		}
	]
}
</code></pre>
<h2>添加或编辑Http参数</h2>
<p><strong>URL:</strong> <code>http://your_ip:port/api/basic/insertOrUpdateHttp</code></p>
<p><strong>Type:</strong> <code>ANY</code></p>
<p><strong>Author:</strong> CYM</p>
<p><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>Description:</strong> 添加或编辑Http参数</p>
<p><strong>Request-parameters:</strong></p>
<table>
<thead>
<tr><th>Parameter</th><th>Type</th><th>Description</th><th>Required</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>id</td><td>string</td><td>主键</td><td>false</td><td>-</td></tr>
<tr><td>name</td><td>string</td><td>参数名</td><td>false</td><td>-</td></tr>
<tr><td>value</td><td>string</td><td>参数值</td><td>false</td><td>-</td></tr>
<tr><td>unit</td><td>string</td><td>参数单位</td><td>false</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Request-example:</strong></p>
<pre><code>curl   -i http://your_ip:port/api/basic/insertOrUpdateHttp?id=45&amp;createTime=1641871596310&amp;unit=6rybmg&amp;seq=1&amp;name=鹤轩.白&amp;value=c2wq4c&amp;updateTime=1641871596310
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>请求结果</td><td>-</td></tr>
<tr><td>status</td><td>string</td><td>请求状态 200:请求成功 401:token无效 500:服务器错误</td><td>-</td></tr>
<tr><td>msg</td><td>string</td><td>错误信息</td><td>-</td></tr>
<tr><td>obj</td><td>object</td><td>返回内容</td><td>-</td></tr>
<tr><td>└─id</td><td>string</td><td>主键</td><td>-</td></tr>
<tr><td>└─name</td><td>string</td><td>参数名</td><td>-</td></tr>
<tr><td>└─value</td><td>string</td><td>参数值</td><td>-</td></tr>
<tr><td>└─unit</td><td>string</td><td>参数单位</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;status&quot;:&quot;jof01c&quot;,
	&quot;msg&quot;:&quot;u18bg3&quot;,
	&quot;obj&quot;:{
		&quot;id&quot;:&quot;45&quot;,
		&quot;name&quot;:&quot;鹤轩.白&quot;,
		&quot;value&quot;:&quot;xwnnvu&quot;,
		&quot;unit&quot;:&quot;0xe0ax&quot;
	}
}
</code></pre>
<h2>删除Http参数</h2>
<p><strong>URL:</strong> <code>http://your_ip:port/api/basic/delHttp</code></p>
<p><strong>Type:</strong> <code>ANY</code></p>
<p><strong>Author:</strong> CYM</p>
<p><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>Description:</strong> 删除Http参数</p>
<p><strong>Request-parameters:</strong></p>
<table>
<thead>
<tr><th>Parameter</th><th>Type</th><th>Description</th><th>Required</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>id</td><td>string</td><td>http参数id</td><td>true</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Request-example:</strong></p>
<pre><code>curl   -i http://your_ip:port/api/basic/delHttp?id=45
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>请求结果</td><td>-</td></tr>
<tr><td>status</td><td>string</td><td>请求状态 200:请求成功 401:token无效 500:服务器错误</td><td>-</td></tr>
<tr><td>msg</td><td>string</td><td>错误信息</td><td>-</td></tr>
<tr><td>obj</td><td>object</td><td>返回内容</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;status&quot;:&quot;k8yqgx&quot;,
	&quot;msg&quot;:&quot;h94j4p&quot;,
	&quot;obj&quot;:{
		&quot;waring&quot;:&quot;You may have used non-display generics.&quot;
	}
}
</code></pre>
<h2>获取基础参数</h2>
<p><strong>URL:</strong> <code>http://your_ip:port/api/basic/getBasic</code></p>
<p><strong>Type:</strong> <code>ANY</code></p>
<p><strong>Author:</strong> CYM</p>
<p><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>Description:</strong> 获取基础参数</p>
<p><strong>Request-example:</strong></p>
<pre><code>curl -X ANY  -i http://your_ip:port/api/basic/getBasic
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>请求结果</td><td>-</td></tr>
<tr><td>status</td><td>string</td><td>请求状态 200:请求成功 401:token无效 500:服务器错误</td><td>-</td></tr>
<tr><td>msg</td><td>string</td><td>错误信息</td><td>-</td></tr>
<tr><td>obj</td><td>object</td><td>返回内容</td><td>-</td></tr>
<tr><td>└─id</td><td>string</td><td>主键</td><td>-</td></tr>
<tr><td>└─name</td><td>string</td><td>参数名</td><td>-</td></tr>
<tr><td>└─value</td><td>string</td><td>参数值</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;status&quot;:&quot;19kd2z&quot;,
	&quot;msg&quot;:&quot;addm2z&quot;,
	&quot;obj&quot;:[
		{
			&quot;id&quot;:&quot;45&quot;,
			&quot;name&quot;:&quot;鹤轩.白&quot;,
			&quot;value&quot;:&quot;vm0ej3&quot;
		}
	]
}
</code></pre>
<h2>添加或编辑基础参数</h2>
<p><strong>URL:</strong> <code>http://your_ip:port/api/basic/insertOrUpdateBasic</code></p>
<p><strong>Type:</strong> <code>ANY</code></p>
<p><strong>Author:</strong> CYM</p>
<p><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>Description:</strong> 添加或编辑基础参数</p>
<p><strong>Request-parameters:</strong></p>
<table>
<thead>
<tr><th>Parameter</th><th>Type</th><th>Description</th><th>Required</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>id</td><td>string</td><td>主键</td><td>false</td><td>-</td></tr>
<tr><td>name</td><td>string</td><td>参数名</td><td>false</td><td>-</td></tr>
<tr><td>value</td><td>string</td><td>参数值</td><td>false</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Request-example:</strong></p>
<pre><code>curl   -i http://your_ip:port/api/basic/insertOrUpdateBasic?name=鹤轩.白&amp;seq=479&amp;updateTime=1641871596310&amp;value=gu53nj&amp;createTime=1641871596310&amp;id=45
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>请求结果</td><td>-</td></tr>
<tr><td>status</td><td>string</td><td>请求状态 200:请求成功 401:token无效 500:服务器错误</td><td>-</td></tr>
<tr><td>msg</td><td>string</td><td>错误信息</td><td>-</td></tr>
<tr><td>obj</td><td>object</td><td>返回内容</td><td>-</td></tr>
<tr><td>└─id</td><td>string</td><td>主键</td><td>-</td></tr>
<tr><td>└─name</td><td>string</td><td>参数名</td><td>-</td></tr>
<tr><td>└─value</td><td>string</td><td>参数值</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;status&quot;:&quot;z0bj9x&quot;,
	&quot;msg&quot;:&quot;gwbriv&quot;,
	&quot;obj&quot;:{
		&quot;id&quot;:&quot;45&quot;,
		&quot;name&quot;:&quot;鹤轩.白&quot;,
		&quot;value&quot;:&quot;yzv1qi&quot;
	}
}
</code></pre>
<h2>删除基础参数</h2>
<p><strong>URL:</strong> <code>http://your_ip:port/api/basic/delBasic</code></p>
<p><strong>Type:</strong> <code>ANY</code></p>
<p><strong>Author:</strong> CYM</p>
<p><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>Description:</strong> 删除基础参数</p>
<p><strong>Request-parameters:</strong></p>
<table>
<thead>
<tr><th>Parameter</th><th>Type</th><th>Description</th><th>Required</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>id</td><td>string</td><td>基础参数id</td><td>true</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Request-example:</strong></p>
<pre><code>curl   -i http://your_ip:port/api/basic/delBasic?id=45
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>请求结果</td><td>-</td></tr>
<tr><td>status</td><td>string</td><td>请求状态 200:请求成功 401:token无效 500:服务器错误</td><td>-</td></tr>
<tr><td>msg</td><td>string</td><td>错误信息</td><td>-</td></tr>
<tr><td>obj</td><td>object</td><td>返回内容</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;status&quot;:&quot;seqmk4&quot;,
	&quot;msg&quot;:&quot;wghffj&quot;,
	&quot;obj&quot;:{
		&quot;waring&quot;:&quot;You may have used non-display generics.&quot;
	}
}
</code></pre>
<h2>获取Stream参数</h2>
<p><strong>URL:</strong> <code>http://your_ip:port/api/basic/getStream</code></p>
<p><strong>Type:</strong> <code>ANY</code></p>
<p><strong>Author:</strong> CYM</p>
<p><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>Description:</strong> 获取Stream参数</p>
<p><strong>Request-example:</strong></p>
<pre><code>curl -X ANY  -i http://your_ip:port/api/basic/getStream
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>请求结果</td><td>-</td></tr>
<tr><td>status</td><td>string</td><td>请求状态 200:请求成功 401:token无效 500:服务器错误</td><td>-</td></tr>
<tr><td>msg</td><td>string</td><td>错误信息</td><td>-</td></tr>
<tr><td>obj</td><td>object</td><td>返回内容</td><td>-</td></tr>
<tr><td>└─id</td><td>string</td><td>主键</td><td>-</td></tr>
<tr><td>└─name</td><td>string</td><td>参数名</td><td>-</td></tr>
<tr><td>└─value</td><td>string</td><td>参数值</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;status&quot;:&quot;2ghplo&quot;,
	&quot;msg&quot;:&quot;4c9sh4&quot;,
	&quot;obj&quot;:[
		{
			&quot;id&quot;:&quot;45&quot;,
			&quot;name&quot;:&quot;鹤轩.白&quot;,
			&quot;value&quot;:&quot;8rh58r&quot;
		}
	]
}
</code></pre>
<h2>添加或编辑Stream参数</h2>
<p><strong>URL:</strong> <code>http://your_ip:port/api/basic/insertOrUpdateStream</code></p>
<p><strong>Type:</strong> <code>ANY</code></p>
<p><strong>Author:</strong> CYM</p>
<p><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>Description:</strong> 添加或编辑Stream参数</p>
<p><strong>Request-parameters:</strong></p>
<table>
<thead>
<tr><th>Parameter</th><th>Type</th><th>Description</th><th>Required</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>id</td><td>string</td><td>主键</td><td>false</td><td>-</td></tr>
<tr><td>name</td><td>string</td><td>参数名</td><td>false</td><td>-</td></tr>
<tr><td>value</td><td>string</td><td>参数值</td><td>false</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Request-example:</strong></p>
<pre><code>curl   -i http://your_ip:port/api/basic/insertOrUpdateStream?updateTime=1641871596310&amp;value=v2cpmk&amp;createTime=1641871596310&amp;name=鹤轩.白&amp;seq=544&amp;id=45
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>请求结果</td><td>-</td></tr>
<tr><td>status</td><td>string</td><td>请求状态 200:请求成功 401:token无效 500:服务器错误</td><td>-</td></tr>
<tr><td>msg</td><td>string</td><td>错误信息</td><td>-</td></tr>
<tr><td>obj</td><td>object</td><td>返回内容</td><td>-</td></tr>
<tr><td>└─id</td><td>string</td><td>主键</td><td>-</td></tr>
<tr><td>└─name</td><td>string</td><td>参数名</td><td>-</td></tr>
<tr><td>└─value</td><td>string</td><td>参数值</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;status&quot;:&quot;x0pv6d&quot;,
	&quot;msg&quot;:&quot;kz8vhn&quot;,
	&quot;obj&quot;:{
		&quot;id&quot;:&quot;45&quot;,
		&quot;name&quot;:&quot;鹤轩.白&quot;,
		&quot;value&quot;:&quot;ruyhnw&quot;
	}
}
</code></pre>
<h2>删除Stream参数</h2>
<p><strong>URL:</strong> <code>http://your_ip:port/api/basic/delStream</code></p>
<p><strong>Type:</strong> <code>ANY</code></p>
<p><strong>Author:</strong> CYM</p>
<p><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>Description:</strong> 删除Stream参数</p>
<p><strong>Request-parameters:</strong></p>
<table>
<thead>
<tr><th>Parameter</th><th>Type</th><th>Description</th><th>Required</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>id</td><td>string</td><td>Stream参数id</td><td>true</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Request-example:</strong></p>
<pre><code>curl   -i http://your_ip:port/api/basic/delStream?id=45
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>请求结果</td><td>-</td></tr>
<tr><td>status</td><td>string</td><td>请求状态 200:请求成功 401:token无效 500:服务器错误</td><td>-</td></tr>
<tr><td>msg</td><td>string</td><td>错误信息</td><td>-</td></tr>
<tr><td>obj</td><td>object</td><td>返回内容</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;status&quot;:&quot;1fxibl&quot;,
	&quot;msg&quot;:&quot;6zzlkf&quot;,
	&quot;obj&quot;:{
		&quot;waring&quot;:&quot;You may have used non-display generics.&quot;
	}
}
</code></pre>

    <footer class="page-footer">
        <span class="copyright">Generated by smart-doc at 2022-01-11 11:26:34</span>
        <span class="footer-modification">Suggestions, contact, support and error reporting on
            <a href="https://gitee.com/smart-doc-team/smart-doc" target="_blank">Gitee</a> or
            <a href="https://github.com/smart-doc-group/smart-doc" target="_blank">Github</a>
        </span>
    </footer>
</div>
</body>
</html>